package com.sniff.atp.enums.api;

import com.sniff.atp.constant.config.SniffHost;
import lombok.Getter;

@Getter
public enum OrderAPI {
    COM_AddCart("/order/combination/product/addCart", "组合商品加购"),
    COM_PAGE("/order/combination/product/page", "组合商品查询"),
    CART_LIST("/order/cart/list", "查询购物车列表"),
    CART_QUANTITY("/order/cart/update/sell/quantity", "购物车数量修改"),
    CREATE_ORDER("/order/cart/create/order", "创建商品订单"),
    ORDER_DETAIL("/order/customer/platformOrder/detail", "订单详情"),
    GOODS_URL("/goods/search/url", "查询商品链接"),
    ADD_CART("/order/cart/add/commontProduct", "添加购物车"),
    BATCH_ADD_CART("/order/cart/batchAddProduct", "批量添加购物车"),
    DELETE_CART("/order/cart/delete", "删除购物车"),
    ORDER_PAGE("/order/customer/platformOrder/page", "查询订单列表"),
    CLIENT_ORDER_LIST("/order/customer/platformOrder/page", "Client订单列表"),
    CURRENT_CART_LIST("/order/cart/getCurrentCartList", "当前购物车列表"),
    PRODUCT_MY_INVENTORY("/order/shop/product/sku/pageMyInventory", "当前购物车列表"),
    SHOP_PRODUCT_LIST("/order/shop/product/sku/list","店铺商品列表"),
    GJFH_ORDER_CREATE("/order/delivery/create","国际发货单创建"),
    GJFH_ORDER_LIST("/order/delivery/page","国际发货单列表"),
    ORDER_LIST("/order/manage/platformOrder/page", "System订单列表"),
    ORDER_CONFIRMREVIEW("/wms/delivery/task/confirmReview", "确认发货单"),
    COMB_CREATE_AND_CART("/order/combination/product/createAndAddCart", "创建组合商品并加入购物车"),
    ABNORMAL_QUERY("/purchase/user/purchase/abnormal/queryAbnormal", "异常订单-问题处理列表"),
    ABNORMAL_HANDLE("/purchase/user/purchase/abnormal/handleAbnormal", "异常订单-异常处理提交"),
    BACK_END("/goods/product/detail/backend", "异常订单-商品查询"),
    ADD_OFFLINE_PRODUCT("/goods/product/offline/add", "创建线下商品"),
    CREATE_BY_VO("/order/searchSourceOrder/operate/createByVo", "创建OEM寻源单"),
    PUBLISH("/order/searchSourceOrder/operate/publish", "提出OEM寻源单"),
    SEARCH_SOURCE_ORDER_DETAIL("/order/searchSourceOrder/show/detail", "查询OEM寻源单详情"),
    USER_UPDATE_BY_VO("/order/searchSourceOrder/operate/userUpdateByVo", "翻译OEM寻源单"),
    ACCEPT_ORDER("/order/searchSourceOrder/operate/acceptOrder", "接单OEM寻源单"),
    DISTRIBUTE_ORDER("/order/searchSourceOrder/operate/distribute", "接单OEM寻源单"),
    BATCH_REPORT_PURCHASE_PRICE("/order/searchSourceOrder/operate/batchReportPurchasePrice", "采购报价OEM寻源单"),
    GET_SUPPLIER_PRICE_LIST_WITH_STATUS("/order/searchSourceOrderSupplierPrice/show/backend/getSupplierPriceListWithStatus", "寻源单报价详情（后台）"),
    APPROVE_PURCHASE_PRICE_PASS("/order/searchSourceOrder/operate/approvePurchasePricePass", "审核报价通过（后台）"),
    DO_BATCH_SAVE_PRICE("/order/searchSourceOrder/operate/doBatchSavePrice", "保存销售价（后台）"),
    BATCH_FILL_SELL_PRICE("/order/searchSourceOrder/operate/batchFillSellPrice", "提交销售价（后台）"),
    RECHECK_PASS("/order/searchSourceOrder/operate/recheckPass", "提交销售价（后台）"),
    TRANSLATE("/order/searchSourceOrderSupplierPrice/show/batch/translate", "翻译报价（后台）"),
    DD_REPORT_SELL_PRICE("/order/searchSourceOrder/operate/ddReportSellPrice", "提交报价给客户（后台）"),
    GET_USER_ID("/customer/users/findUserList", "查找后台用户id（后台）"),
    ;
    private final String api;
    private final String desc;

    OrderAPI(String api, String desc) {
        this.api = SniffHost.HOST + api;
        this.desc = desc;
    }
}
